import '../font/webfont.css'

function createfont() {
    const dom = document.createElement('div');
    dom.innerHTML = '我是字体1112223333'
    dom.className = 'web-font';
    document.body.appendChild(dom);
}

createfont();